/**
 * 新增/编辑模板
 */
export type TemplateParams = {
  parentId?: string | number;
  reasonId?: string | number;
  reasonName: string;
  afterSalesType: string | number
};

/**
 * 模板列表 data
 */
export type TemplateItem = {
  packageType: string | number;
  portraitName: string;
  stageSettingName: string;
  stageType: string;
} & TemplateParams;

/**
 * 整改节点
 */
export type NodeItem = {
  reasonId: string;
  reasonName: string;
  parentId: number;
  afterSalesType: string;
  level: number;
};

export type TreeItem = {
  children: TreeItem[];
} & NodeItem;
